<%= form_remote_tag :url=>{:controller=>"info",:action=>"update_user"},
					:loading => %{window.document.getElementById('modify_user').innerHTML='<div align="right" style="color: #666;font-weight: bold;"><img src="/images/progress.gif"/>&nbsp;正在修改您的资料...</div>'},
					:complete => "openAlert('用户信息修改完成',200,50)"%>
<div class="solid_line"></div>
<ul>
	<li class="info_data">MSN：<span class="info_input"><%= text_field 'user', 'msn',:style=>"border:0;"%></span></li>
    <li class="info_data">电子邮件：<span class="info_input"><%= text_field 'user', 'email',:style=>"border:0;"%></span></li>
	<li class="info_data">个人博客：<span class="info_input">http://<%= text_field 'user', 'blog',:style=>"border:0;"%></span></li>
	<li class="info_data">自我介绍：(150字以内) </br></br><%= text_area 'user', 'comment',:style=>"width:300px;height:100px"%></li>
	<li class="info_data">是否公开资料：&nbsp;是&nbsp; <%unless user.anonymous -%>
	<%= radio_button 'user', 'anonymous', 0 , :checked=>1 %> &nbsp;否&nbsp;
	<%= radio_button 'user', 'anonymous', 1 %> <%else -%> <%= radio_button 'user', 'anonymous', 0  %>
	&nbsp;否&nbsp; <%= radio_button 'user', 'anonymous', 1 , :checked=>1%> <%end -%>
	&nbsp;&nbsp;(&nbsp;<%= link_to_remote "网站申明", :update => 'check',:url=>{:controller=>"index", :action => "post_site_notice"}%>
	)
	</li>
</ul>
<div style="width:480px;" align="right">
<%= submit_tag " 更 新 ",:class=>"btn_mouseout",
													:onmouseover=>"this.className='btn_mouseover'",
 													:onmouseout=>"this.className='btn_mouseout'",
 													:onmousedown=>"this.className='btn_mousedown'",
  													:onmouseup=>"this.className='btn_mouseup'"%>
&nbsp;(&nbsp;<%= link_to_remote "取消", :url=>{:controller=>"info",:action=>"hide_user"},:update=>"modify_user" %>&nbsp;)
<%= end_form_tag%></div>
<div class="solid_line"></div>
